package com.gun.controller;
/**
 * @Authar: 吾图南
 * @Data: 2022/12/11 10:34
 * @Package: com.gun.controller
 * @ClassName: FilmeController
 * @Description: TODO
 */
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class FilmeController {
    //  影片详情页
    @GetMapping("/detail/{type}/{path}")
    public String toDetail(@PathVariable("type")String type, @PathVariable("path")String path) {
        return "detail/"+type+"/"+path;
    }

}

